package com.jz.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableSwagger2
// 开启swagger
//@ConditionalOnProperty(name = "swagger.enable",  havingValue = "true")
@EnableEurekaClient
@SpringBootApplication
public class Order {
    public static void main(String[] args) {
        SpringApplication.run(Order.class,args);
    }
}
